home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group02b.txt / 000169_icon-group-sender_Tue Dec 31 15:20:41 2002.msg < prev    next >
Internet Message Format  |  2003-01-02  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id gBVMIg617195
  4.     for icon-group-addresses; Tue, 31 Dec 2002 15:18:42 -0700 (MST)
  5. Message-Id: <200212312218.gBVMIg617195@baskerville.CS.Arizona.EDU>
  6. From: ernobe <ernobe@msn.com>
  7. X-Newsgroups: comp.lang.icon
  8. Subject: Re: Scanning question
  9. Date: Tue, 31 Dec 2002 02:15:39 +0200
  10. X-Newsreader: MicroPlanet Gravity v2.50
  11. To: icon-group@cs.arizona.edu
  12. Errors-To: icon-group-errors@cs.arizona.edu
  13. Status: RO
  14.  
  15.  
  16. > > if the 'then' clause fails in the conjunction, does the 'if'
  17. > > clause itself fail?
  18. > Yes. Depending on the "if" condition, the "then" or the "else" part is
  19. > executed. The outcome of the entire statement will be the outcome of the
  20. > chosen "then" or "else" part. If the else part is missing, it is like a
  21. > failure - effectively a missing else part generates zero results which will
  22. > be a failure that will force backtracking.
  23. > In either situation, if the "then" or "else" part generates results, that is
  24. > the result of the entire "if" statement. Note that the condition is never
  25. > resumed - it is driven to produce ANY result so that the "then" or the
  26. > "else" part can be selected but after that it is finished.
  27.  
  28. Thank-you for your very informative post.  This particular issue with the if 
  29. statement was the cause of my problems.  I suspect that I must be missing 
  30. informatin on facts as basic as this, since I hadn't come across it in the 
  31. documentation.  Perhaps it is something one learns in the first year of 
  32. computer science courses in the university.  I found Icon on the Web after 
  33. nearly a year of searching for and trying several languages, particularly Forth 
  34. and Euphoria.  I have the general impression that most of the documentation is 
  35. written for advanced students.  Perhaps part of it is intentional in order not 
  36. to share information that may be used maliciously.  Just today I found a 
  37. website of a hacker who has one of the best tutorials on Dos programming that 
  38. I've seen so far.  I've noticed the similarity of some of Icons functions with 
  39. the Dos functions that are available in my Windows 2000 OS, but proper or even 
  40. basic information as to how to use these commands is totally missing.  I'd 
  41. appreciate it if anyone could direct me to an appropiate source.
  42.  
  43.  
  44.     
  45.  
  46.  
  47.  
  48.  
  49.  
  50. -- 
  51. my esoteric links:
  52. http://www.costarricense.cr/pagina/ernobe/
  53.